package com.atguigu.gulimall.order.constant;


public enum OrderEnum {
    /**
     * 订单状态【0->待付款；1->待发货；2->已发货；3->已完成；4->已关闭；5->无效订单】
     */
    CREATE_NEW(0,"代付款"),
    CANCLED(4,"已关闭");

    private Integer code;
    private String msg;
    OrderEnum(Integer code, String msg){
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
